#include <iostream>
#include "ClockTimer.h"
#include "AnalogTimer.h"
#include "DigitalClock.h"

using namespace std;
int main(void) {
	
	ClockTimer* timer = new ClockTimer;
	AnalogClock* analogClock = new AnalogClock(timer);
	DigitalClock* digitalClock = new DigitalClock(timer);
	while (true)
	{
		timer->Tick();
		_sleep(1000);
	}
	getchar();
	return 0;
}